#include <testngpp/internal/TestCase.h>
#include <testngpp/internal/TestFixtureDesc.h>
#include <testngpp/internal/TestSuiteDesc.h>
#include <testngpp/internal/DataDriven.h>
#include "TestLength.h"

static struct TESTCASE_TestLength_test_11
   : public TESTNGPP_NS::TestCase
{
   TESTCASE_TestLength_test_11()
      : TESTNGPP_NS::TestCase
        ( "should compare MILE with YARD under Length system: 1 MILE == 1760 YARD"
        , "Length"
        , "TestLength"
        , 0
        , "TestLength.h"
        , 11)
   {}

   void setFixture(TESTNGPP_NS::TestFixture* fixture)
   {
      if(fixture == 0)
      {
         belongedFixture = new TestLength();
      }
      else
      {
         belongedFixture = dynamic_cast<TestLength*>(fixture);
      }
   }

   void runTest()
   {
      
belongedFixture->test_11()
;
   }

   TESTNGPP_NS::TestFixture* getFixture() const
   {
      return belongedFixture;
   }

   unsigned int numberOfTags() const
   {
      return 0;
   }

   const char** getTags() const
   {
      static const char* tags[] = {0};
      return tags;
   }

private:
   TestLength* belongedFixture;
} testcase_instance_TestLength_test_11 ;



static struct TESTCASE_TestLength_test_18
   : public TESTNGPP_NS::TestCase
{
   TESTCASE_TestLength_test_18()
      : TESTNGPP_NS::TestCase
        ( "should compare FEET with YARD under Length system: 3 FEET == 1 YARD"
        , "Length"
        , "TestLength"
        , 0
        , "TestLength.h"
        , 18)
   {}

   void setFixture(TESTNGPP_NS::TestFixture* fixture)
   {
      if(fixture == 0)
      {
         belongedFixture = new TestLength();
      }
      else
      {
         belongedFixture = dynamic_cast<TestLength*>(fixture);
      }
   }

   void runTest()
   {
      
belongedFixture->test_18()
;
   }

   TESTNGPP_NS::TestFixture* getFixture() const
   {
      return belongedFixture;
   }

   unsigned int numberOfTags() const
   {
      return 0;
   }

   const char** getTags() const
   {
      static const char* tags[] = {0};
      return tags;
   }

private:
   TestLength* belongedFixture;
} testcase_instance_TestLength_test_18 ;



static struct TESTCASE_TestLength_test_23
   : public TESTNGPP_NS::TestCase
{
   TESTCASE_TestLength_test_23()
      : TESTNGPP_NS::TestCase
        ( "should compare FEET with INCH under Length system: 1 FEET == 12 INCH"
        , "Length"
        , "TestLength"
        , 0
        , "TestLength.h"
        , 23)
   {}

   void setFixture(TESTNGPP_NS::TestFixture* fixture)
   {
      if(fixture == 0)
      {
         belongedFixture = new TestLength();
      }
      else
      {
         belongedFixture = dynamic_cast<TestLength*>(fixture);
      }
   }

   void runTest()
   {
      
belongedFixture->test_23()
;
   }

   TESTNGPP_NS::TestFixture* getFixture() const
   {
      return belongedFixture;
   }

   unsigned int numberOfTags() const
   {
      return 0;
   }

   const char** getTags() const
   {
      static const char* tags[] = {0};
      return tags;
   }

private:
   TestLength* belongedFixture;
} testcase_instance_TestLength_test_23 ;



static struct TESTCASE_TestLength_test_28
   : public TESTNGPP_NS::TestCase
{
   TESTCASE_TestLength_test_28()
      : TESTNGPP_NS::TestCase
        ( "should get the sum among unit of FEET, INCH, MILE, or YARD under Length system: (1 MILE + 2 YARD + 3 FEET + 4 INCH) == 63412 INCH"
        , "Length"
        , "TestLength"
        , 0
        , "TestLength.h"
        , 28)
   {}

   void setFixture(TESTNGPP_NS::TestFixture* fixture)
   {
      if(fixture == 0)
      {
         belongedFixture = new TestLength();
      }
      else
      {
         belongedFixture = dynamic_cast<TestLength*>(fixture);
      }
   }

   void runTest()
   {
      
belongedFixture->test_28()
;
   }

   TESTNGPP_NS::TestFixture* getFixture() const
   {
      return belongedFixture;
   }

   unsigned int numberOfTags() const
   {
      return 0;
   }

   const char** getTags() const
   {
      static const char* tags[] = {0};
      return tags;
   }

private:
   TestLength* belongedFixture;
} testcase_instance_TestLength_test_28 ;



static struct TESTCASE_TestLength_test_33
   : public TESTNGPP_NS::TestCase
{
   TESTCASE_TestLength_test_33()
      : TESTNGPP_NS::TestCase
        ( "should print out the Length object with its largest Unit under Length system like: \"35 INCH == 2 FEET 11 INCH\""
        , "Length"
        , "TestLength"
        , 0
        , "TestLength.h"
        , 33)
   {}

   void setFixture(TESTNGPP_NS::TestFixture* fixture)
   {
      if(fixture == 0)
      {
         belongedFixture = new TestLength();
      }
      else
      {
         belongedFixture = dynamic_cast<TestLength*>(fixture);
      }
   }

   void runTest()
   {
      
belongedFixture->test_33()
;
   }

   TESTNGPP_NS::TestFixture* getFixture() const
   {
      return belongedFixture;
   }

   unsigned int numberOfTags() const
   {
      return 0;
   }

   const char** getTags() const
   {
      static const char* tags[] = {0};
      return tags;
   }

private:
   TestLength* belongedFixture;
} testcase_instance_TestLength_test_33 ;



static struct TESTCASE_TestLength_test_38
   : public TESTNGPP_NS::TestCase
{
   TESTCASE_TestLength_test_38()
      : TESTNGPP_NS::TestCase
        ( "should print out the Length object with its largest Unit under Length system like: \"38 INCH == 1 YARD 2 INCH\""
        , "Length"
        , "TestLength"
        , 0
        , "TestLength.h"
        , 38)
   {}

   void setFixture(TESTNGPP_NS::TestFixture* fixture)
   {
      if(fixture == 0)
      {
         belongedFixture = new TestLength();
      }
      else
      {
         belongedFixture = dynamic_cast<TestLength*>(fixture);
      }
   }

   void runTest()
   {
      
belongedFixture->test_38()
;
   }

   TESTNGPP_NS::TestFixture* getFixture() const
   {
      return belongedFixture;
   }

   unsigned int numberOfTags() const
   {
      return 0;
   }

   const char** getTags() const
   {
      static const char* tags[] = {0};
      return tags;
   }

private:
   TestLength* belongedFixture;
} testcase_instance_TestLength_test_38 ;



static struct TESTCASE_TestLength_test_43
   : public TESTNGPP_NS::TestCase
{
   TESTCASE_TestLength_test_43()
      : TESTNGPP_NS::TestCase
        ( "should print out the Length object with its largest Unit under Length system like: \"48 INCH == 1 YARD 1 FEET\""
        , "Length"
        , "TestLength"
        , 0
        , "TestLength.h"
        , 43)
   {}

   void setFixture(TESTNGPP_NS::TestFixture* fixture)
   {
      if(fixture == 0)
      {
         belongedFixture = new TestLength();
      }
      else
      {
         belongedFixture = dynamic_cast<TestLength*>(fixture);
      }
   }

   void runTest()
   {
      
belongedFixture->test_43()
;
   }

   TESTNGPP_NS::TestFixture* getFixture() const
   {
      return belongedFixture;
   }

   unsigned int numberOfTags() const
   {
      return 0;
   }

   const char** getTags() const
   {
      static const char* tags[] = {0};
      return tags;
   }

private:
   TestLength* belongedFixture;
} testcase_instance_TestLength_test_43 ;



static struct TESTCASE_TestLength_test_48
   : public TESTNGPP_NS::TestCase
{
   TESTCASE_TestLength_test_48()
      : TESTNGPP_NS::TestCase
        ( "should print out the Length object with its largest Unit under Length system like: \"5 FEET == 1 YARD 2 FEET\""
        , "Length"
        , "TestLength"
        , 0
        , "TestLength.h"
        , 48)
   {}

   void setFixture(TESTNGPP_NS::TestFixture* fixture)
   {
      if(fixture == 0)
      {
         belongedFixture = new TestLength();
      }
      else
      {
         belongedFixture = dynamic_cast<TestLength*>(fixture);
      }
   }

   void runTest()
   {
      
belongedFixture->test_48()
;
   }

   TESTNGPP_NS::TestFixture* getFixture() const
   {
      return belongedFixture;
   }

   unsigned int numberOfTags() const
   {
      return 0;
   }

   const char** getTags() const
   {
      static const char* tags[] = {0};
      return tags;
   }

private:
   TestLength* belongedFixture;
} testcase_instance_TestLength_test_48 ;



static struct TESTCASE_TestLength_test_53
   : public TESTNGPP_NS::TestCase
{
   TESTCASE_TestLength_test_53()
      : TESTNGPP_NS::TestCase
        ( "should print out the Length object with its largest Unit under Length system like: \"1781 YARD == 1 MILE 21 YARD\""
        , "Length"
        , "TestLength"
        , 0
        , "TestLength.h"
        , 53)
   {}

   void setFixture(TESTNGPP_NS::TestFixture* fixture)
   {
      if(fixture == 0)
      {
         belongedFixture = new TestLength();
      }
      else
      {
         belongedFixture = dynamic_cast<TestLength*>(fixture);
      }
   }

   void runTest()
   {
      
belongedFixture->test_53()
;
   }

   TESTNGPP_NS::TestFixture* getFixture() const
   {
      return belongedFixture;
   }

   unsigned int numberOfTags() const
   {
      return 0;
   }

   const char** getTags() const
   {
      static const char* tags[] = {0};
      return tags;
   }

private:
   TestLength* belongedFixture;
} testcase_instance_TestLength_test_53 ;



static TESTNGPP_NS::TestCase* g_TESTCASEARRAY_TestLength[] = {
&testcase_instance_TestLength_test_11,
&testcase_instance_TestLength_test_18,
&testcase_instance_TestLength_test_23,
&testcase_instance_TestLength_test_28,
&testcase_instance_TestLength_test_33,
&testcase_instance_TestLength_test_38,
&testcase_instance_TestLength_test_43,
&testcase_instance_TestLength_test_48,
&testcase_instance_TestLength_test_53,
0
};




/*static*/ TESTNGPP_NS::TestFixtureDesc test_fixture_desc_instance_TestLength
   ( "Length"
   , "TestLength.h"
   , g_TESTCASEARRAY_TestLength
   , (sizeof(g_TESTCASEARRAY_TestLength)/sizeof(g_TESTCASEARRAY_TestLength[0])) - 1
   );



static TESTNGPP_NS::TestFixtureDesc* array_of_fixture_desc_TestLength[] = {
&test_fixture_desc_instance_TestLength,
0
};




static TESTNGPP_NS::TestSuiteDesc test_suite_desc_instance_TestLength
   ( "TestLength"
   , array_of_fixture_desc_TestLength
   , (sizeof(array_of_fixture_desc_TestLength)/sizeof(array_of_fixture_desc_TestLength[0])) - 1
   );



extern "C" DLL_EXPORT TESTNGPP_NS::TestSuiteDesc* ___testngpp_test_suite_desc_getter() {
   return &test_suite_desc_instance_TestLength;
}


